package com.jmlee.pojo;

import java.util.Date;

/**
 * @author： 郑锦涛
 * @data： 2021/3/14 22:05
 * @version：1.0
 * @描述： shop表实体类
 */
public class Shop {

    private Long id;
    private String name;
    private Long aid;
    private String address;
    private float latitude;
    private float longitude;
    private Integer status;
    private String license;
    private String licenseImg;
    private Date createTime;

    public Shop() {
    }

    public Shop(Long id, String name, Long aid, String address, float latitude, float longitude, Integer status, String license, String licenseImg, Date createTime) {
        this.id = id;
        this.name = name;
        this.aid = aid;
        this.address = address;
        this.latitude = latitude;
        this.longitude = longitude;
        this.status = status;
        this.license = license;
        this.licenseImg = licenseImg;
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", aid=" + aid +
                ", address='" + address + '\'' +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", status=" + status +
                ", license='" + license + '\'' +
                ", licenseImg='" + licenseImg + '\'' +
                ", createTime=" + createTime +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getAid() {
        return aid;
    }

    public void setAid(Long aid) {
        this.aid = aid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public float getLatitude() {
        return latitude;
    }

    public void setLatitude(float latitude) {
        this.latitude = latitude;
    }

    public float getLongitude() {
        return longitude;
    }

    public void setLongitude(float longitude) {
        this.longitude = longitude;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getLicenseImg() {
        return licenseImg;
    }

    public void setLicenseImg(String licenseImg) {
        this.licenseImg = licenseImg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
